package com.gxa.mapper;

import com.gxa.common.PageRecv;
import com.gxa.pojo.Recycle;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RecycleMapper {
    //添加回收站信息
    public int addRecycle(Recycle recycle);
    //查询回收站信息
    public List<Recycle> selectRecycle(PageRecv pageRecv);
    //查询回收站条数
    public Integer selectCountRecycle(PageRecv pageRecv);
    //普通搜索接口
    public List<Recycle> searchRecycle(PageRecv pageRecv);
    //普通搜索接口条数Count
    public Integer searchCountRecycle(PageRecv pageRecv);
    //删除回收站信息
    public int deleteRecycle(@Param("recycleids") List<Integer> recycleids);
    //清空回收站
    public int deleteAllRecycle();
    //还原以及移入公海获取客户id和业务员id
    public List<Recycle> reductionAndTransfer(@Param("recycleids")List<Integer> recycleids);

}
